#include <Arduino.h>
#include "motion.h"
#include "message.h"
#include "face.h"
#include "tts.h"
#include "mode_control.h"
#include "./drive/hc_sr04.h"

void IODisableJtag();

void setup() {
  IODisableJtag();
  TTSInit();
  ModeInit();
  MessageInit();
  MotionInit();
  FaceInit();
}

void loop() {
  ModeLoop();
  MessageProcess();
  FaceLoop();
}
